package homework.Game;
/**
 * 医生类
 */
public class Doctor extends Professional implements Treat{
    public Doctor(){

    }
    public Doctor(String name, int level){
        super(name,level);
    }
    /**治疗的方法*/
    public void treat() {
        System.out.println("我是等级" + this.getLevel() + "的" + this.getName() + "我可以治疗");
    }
}
